package com.bupt.fmmall.service;

import com.bupt.fmmall.entity.Complaint;
import com.bupt.fmmall.vo.ResultVO;

import java.util.List;

public interface ComplaintService {
    //顾客点击投诉后生成一条投诉
    public ResultVO customerComplaint(Complaint complaint);
    //顾客删除一条投诉
    public ResultVO customerWithdrawComplaint(int complaintId);
    //顾客查看自己的所有投诉
    public ResultVO customerViewAllComplaints(String customerUserName);
    //管理员查看所有待处理的投诉
    public List<Complaint> adminViewAllComplaints();
    //管理员删除投诉
    public void adminDeleteComplaint(int complaintId);
}
